package com.senlan.water.dao.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.senlan.water.dao.domain.CustomerAppeal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.senlan.water.dto.appeal.CustomerAppealAddDTO;
import com.senlan.water.dto.appeal.CustomerAppealEditDTO;
import com.senlan.water.dto.appeal.CustomerAppealSearchDTO;

/**
* @author 10499
* @description 针对表【customer_appeal(客户诉求)】的数据库操作Service
* @createDate 2024-12-03 15:25:29
*/
public interface CustomerAppealService extends IService<CustomerAppeal> {

    /**
     * 新增
     * @param addDTO
     * @return
     */
    Boolean addNew(CustomerAppealAddDTO addDTO);

    /**
     * 编辑
     * @param editDTO
     * @return
     */
    Boolean editById(CustomerAppealEditDTO editDTO);

    /**
     * 删除
     * @param id
     * @return
     */
    Boolean deleteById(Long id);

    /**
     * 分页查询
     * @param searchDTO
     * @return
     */
    Page<CustomerAppeal> getPage(CustomerAppealSearchDTO searchDTO);
}
